package com.admin.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 * 
 * </p>
 *
 * @author marisheng
 * @since 2019-11-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class SystemApk implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "system_apk_id", type = IdType.AUTO)
    private Integer systemApkId;

    /**
     * 系统apk包名
     */
    private String systemApkPackageName;

    /**
     * 系统apk服务器地址
     */
    private String systemApkUrl;

    /**
     * 是否升级
     */
    private String systemApkStatus;

    /**
     * 名字
     */
    private String systemApkName;

    /**
     * 系统apk版本
     */
    private String systemApkVesion;

    /**
     * 系统apk版本更新内容
     */
    private String systemApkVesionText;

    /**
     * 系统apk版本名称
     */
    private String systemApkVersionName;

    /**
     * 系统apk上传时间
     */
    @JsonFormat(shape=JsonFormat.Shape.STRING, pattern="yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime systemApkUploadTime;

    /**
     * 系统apkMD5
     */
    private String systemApkMd5;


}
